-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TYP: more annotations for io.pytables #29703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. A few non-blockers that could be improved otherwise @simonjayhawkins
@@ -1123,7 +1142,7 @@ def append_to_multiple( | |||
|
|||
# figure out how to split the value | |||
remain_key = None | |||
remain_values = [] | |||
remain_values: List = [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any chance of adding a subtype here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here and below: i'm pretty sure we'll be able to be more specific in these after #29692
@@ -1077,7 +1089,14 @@ def append( | |||
self._write_to_group(key, value, append=append, dropna=dropna, **kwargs) | |||
|
|||
def append_to_multiple( | |||
self, d, value, selector, data_columns=None, axes=None, dropna=False, **kwargs | |||
self, | |||
d: Dict, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment
thanks |
should be orthogonal to #29692.